package cn.com.service;

import java.util.List;

import cn.com.commons.Paginator;
import cn.com.dal.dataobject.OperationLogDO;
import cn.com.support.message.MessageResult;

/**
 * 操作日志业务类
 * 
 * @since 2012-3-6 下午9:22:53
 * @version 1.0
 * @author Microbun
 */
public interface OperationLogService {

	/**
	 * 分页查询操作日志
	 * 
	 * @param paginator
	 * @return
	 */
	<C> Paginator<C, List<OperationLogDO>> selectByPage(
			Paginator<C, List<OperationLogDO>> paginator);

	/**
	 * 插入操作日志
	 * 
	 * @param operationLogDO
	 * @return
	 */
	MessageResult<Long> insert(OperationLogDO operationLogDO);

}
